Skip to content

feat: link the URLs in a profile bio - #463

Open
camilleislasse wants to merge 1 commit into
dev-null-sh:productionfrom
camilleislasse:feat/bio-links
Open

camilleislasse wants to merge 1 commit into
dev-null-sh:productionfrom
camilleislasse:feat/bio-links

Conversation

@camilleislasse

Copy link
Copy Markdown
Contributor

Closes #426.

Bios are rendered as plain text, so the links people put in them aren't clickable. The profile now renders the bio through the same LinkifiedText commits use, with the same shortening and rel="noopener noreferrer nofollow ugc".

@handles stay plain text: commits link them from their mentions column, and a bio has none. Only the profile page changes; the hover card and the lists truncate the bio, so they keep it as it is.

@jubianchi

Copy link
Copy Markdown
Contributor

@camilleislasse, the profile bio is now rendered by BioText (resources/js/components/bio-text.tsx), which turns @handles into avatar pills (#720) linked to their dev/null profile (#1266). URLs in bios still aren't clickable, so #426 still stands, but the linking would now need to happen inside BioText, next to the mentions, rather than by swapping in LinkifiedText.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

May do this myself, but can we have links highlighted and linked in profile description.

2 participants